<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
    详情页
    <script setup>
        import { ref } from 'vue'
        
        const count = ref(0)
        
        function increment() {
          count.value++
        }
        </script>
        
        <template>
          <button @click="increment">
            {{ count }}
          </button>
        </template>
</body>
</html>